From: IOhannes m zmölnig Date: Thu, 21 Jan 2016 16:02:06 +0000 (+0100) Subject: Use reproducible date/time X-Git-Tag: archive/raspbian/5.4.5_ds0-1+rpi1~1^2~378 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=f346d1104e0a18ef2145d310f5f051863b12b6b9;p=juce.git Use reproducible date/time --- diff --git a/debian/patches/reproducible-date.patch b/debian/patches/reproducible-date.patch new file mode 100644 index 00000000..6d9918ed --- /dev/null +++ b/debian/patches/reproducible-date.patch @@ -0,0 +1,24 @@ +Description: use reproducible date/time + rather than using __DATE__ we use a value that is baed on the debian/changelog + timestamp. +Author: IOhannes m zmölnig +Last-Update: 2015-01-21 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- juce.orig/modules/juce_core/time/juce_Time.cpp ++++ juce/modules/juce_core/time/juce_Time.cpp +@@ -448,10 +448,13 @@ + return 0; + } + ++#ifndef BUILD_DATE ++# define BUILD_DATE __DATE__ ++#endif + Time Time::getCompilationDate() + { + StringArray dateTokens; +- dateTokens.addTokens (__DATE__, true); ++ dateTokens.addTokens (BUILD_DATE, true); + dateTokens.removeEmptyStrings (true); + + return Time (dateTokens[2].getIntValue(), diff --git a/debian/patches/series b/debian/patches/series index 1c935826..b4153546 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ no-ztypes.patch +reproducible-date.patch do-not-track.patch